<template>
  <div class="mymemo">
    <div class="content">
      <img src="../../assets/logo.png" alt="" />
      <div>
        <span>{{ memoItem.title }}</span>
        <p>{{ memoItem.content }}</p>
      </div>
    </div>

    <div class="tiemr">
      <span class="el-icon-watch"></span><i>{{ memoItem.createTime }}</i>
    </div>
  </div>
</template>
<script>
export default {
  name: "memoDoule",
  components: {},
  props: {
    memoItem: Object,
  },
  data() {
    return {};
  },
  methods: {},
  computed: {},
  watch: {},
};
</script>
<style lang="less" scoped>
.mymemo {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;
  box-sizing: border-box;
  margin-bottom: 24px;
  .content {
    display: flex;
    align-items: center;
    width: 64%;

    img {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      object-fit: cover;
      margin-right: 12px;
    }
    div {
      display: flex;
      flex-flow: column;
      width: 80%;
      span {
        font-size: 16px;
        font-weight: 600;
        color: #4165e6;
        margin-bottom: 6px;
      }
      span,
      p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }
  .tiemr {
    color: #999;
    font-size: 14px;
  }
}
</style>
